/*
 * @Author: nengwu 409791297@qq.com
 * @Date: 2020-06-30 10:42:46
 * @LastEditors: nengwu 409791297@qq.com
 * @LastEditTime: 2020-06-30 10:44:54
 * @description: 
 */ 
import React from 'react'
import { View, Image } from 'react-native'
import styles from './styles'
const rightIcon = require('@/assets/images/icon-right.png')

const RightElement = props => {
  return (
    <View style={styles.rightElement}>
      {props.children}
      <Image source={rightIcon} style={styles.rightIcon} />
    </View>
  )
}

export default RightElement